x86: don't allow Dom0 to map MSI-X table writably
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Feb 2012 11:04:44 +0000 (12:04 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Feb 2012 11:04:44 +0000 (12:04 +0100)
commit271ca5bea6ed14393b4c29c07be07409d48e04c8
treed7fa2950e4fd18696d919d89dc0c8d48248acb23
parent1ad9275fc513aa130f88d5b803d4ea676e011d26
x86: don't allow Dom0 to map MSI-X table writably

With the traditional qemu tree fixed to not use PROT_WRITE anymore in
the mmap() call for this region, and with the upstream qemu tree not
being capable of handling passthrough, yet, there's no need to treat
Dom specially here anymore.

This continues to leave unaddressed the case where PV guests map the
MSI-X table page(s) before setting up the first MSI-X interrupt (see
the original c/s 22182:68cc3c514a0a description for options).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/mm.c